package com.hkemmm.shop.service.impl;

import com.hkemmm.shop.dao.AreasMapper;
import com.hkemmm.shop.entity.Areas;
import com.hkemmm.shop.service.IAreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AreaService implements IAreaService {
    @Autowired
    private AreasMapper areasMapper;

    @Override
    public Areas selectByPrimaryKey(Integer id) {
        return areasMapper.selectByPrimaryKey(id);
    }

    @Override
    public Areas selectArea(String aid) {
        return areasMapper.selectArea(aid);
    }
}
